package com.imooc.pojo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * ClassName:UserBO Package:com.imooc.pojo.bo Description:
 *
 * @Date:2021/7/6 13:46
 * @Author:sunzheng@beiming.com
 */
@ApiModel(value = "用户对象BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class UserBO {

  @ApiModelProperty(value = "用户名", name = "username", example = "张三", required = true)
  private String username;

  @ApiModelProperty(value = "密码", name = "password", example = "123456", required = true)
  private String password;

  @ApiModelProperty(value = "确认密码", name = "confirmPassword", example = "123456", required = false)
  private String confirmPassword;

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getConfirmPassword() {
    return confirmPassword;
  }

  public void setConfirmPassword(String confirmPassword) {
    this.confirmPassword = confirmPassword;
  }
}
